package com.liyu.net;

import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;

/**
 * 与客户端之间I/O缓存类
 *
 * @author Yuhaotian
 * @date. 2022/10/31 14:39
 * @since 1.0.0
 */

public class OnlineClientIoCache {
    /**
     * 对象输入流
     */
    private final ObjectInputStream ois;
    /**
     * 对象输出流
     */
    private final ObjectOutputStream oos;

    public OnlineClientIoCache(ObjectInputStream ois, ObjectOutputStream oos) {
        this.ois = ois;
        this.oos = oos;
    }

    public ObjectOutputStream getOos() {
        return oos;
    }

    public ObjectInputStream getOis() {
        return ois;
    }

}
